package main
import bingo_log "github.com/silsuer/bingo-log"

func main() {

	//log := bingo_log.NewLog(bingo_log.LogPoolMode)
	//log.SetPoolExpiredTime(100)
	//log.SetPoolWorkerNum(100)

	log := bingo_log.NewLog(bingo_log.LogSyncMode)

	//e := new(ExampleConnector)
	//log.LoadConnector(e)

	//config := make(map[string]string)
	//config["root"] = "/set/any/path"
	//config["format"] = "2006_01_02"

	conn := new(bingo_log.BaseConnector)
	//c := bingo_log.NewKirinConnector(make(map[string]string))

	log.LoadConnector(conn)
	//log.LoadConnector(c)

	log.Info("testing")
	log.Debug("testing")
	log.Warning("testing")
	log.Error("testing")
	log.Fatal("testing")

}